import unittest
import sys
import os

sys.path += [os.path.abspath('..')]

from backend.core.db.types import Type

class TypesTest(unittest.TestCase):

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def testTypesConstructor(self):
        f = Type(a='b', c='d', e='f')
        self.assertEquals(f.a, 'b')
        self.assertEquals(f.c, 'd')
        self.assertEquals(f.e, 'f')
